//React样式私有化方案2-样式表
.navbar{
    height: 100vh;
    background-color: seagreen;
    .navbar-header{
        background-color: pink;
        height: 100px;
    }
    .navbar-main{
        background-color: skyblue;
    }
    .navbar-footer{
        background-color: bisque;
    }
}